from DrissionPage import ChromiumPage
from DrissionPage.common import Settings

Settings.raise_when_ele_not_found = True
page = ChromiumPage()

ele = page.ele("#some_id", timeout=5)
# 默认情况下，如果找不到元素会返回NoneElement
print(ele)
